Test modulesΒΆ

Loading BokehJS ...
Loading BokehJS ...
# from bokeh.io import output_notebook, show
# from bokeh.plotting import figure
# from bokeh.models import CustomJS, ColumnDataSource
# import ipyvolume.bokeh
# output_notebook()

# x, y, z, u, v, w = np.random.random((6, 1000))*2-1
# quiver = ipv.quiver(x, y, z, u, v, w, size=5)
# data_source = ColumnDataSource(data=dict(x=x, y=y))

# ipv.figure()

# # p = figure(title="E Lz space", tools='lasso_select', width=500, height=500)
# r = p.circle('x', 'y', source=data_source, color="navy", alpha=0.2)
# ipyvolume.bokeh.link_data_source_selection_to_widget(data_source, quiver, 'size')

# from ipywidgets import FloatSlider, ColorPicker, VBox, jslink
# size = FloatSlider(min=0, max=30, step=0.1)

# jslink((quiver, 'size'), (size, 'value'))

# VBox([ipv.gcc(), size])

# show(p)